//
//  CDUserFactory.m
//  TeamProject_Travel
//
//  Created by lanou3g on 16/4/6.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "CDUserFactory.h"
@interface CDUser : NSObject <CDUserModelDelegate>
@property (nonatomic, strong) NSString *userId;

@property (nonatomic, strong) NSString *username;

@property (nonatomic, strong) NSString *avatarUrl;

@end

@implementation CDUser

@end

@implementation CDUserFactory

-(void)cacheUserByIds:(NSSet *)userIds block:(AVIMBooleanResultBlock)block
{
    block(YES, nil);
}
- (id <CDUserModelDelegate> )getUserById:(NSString *)userId {
    CDUser *user = [[CDUser alloc] init];
    user.userId = userId;
    user.username = userId;
    user.avatarUrl = @"http://ac-x3o016bx.clouddn.com/86O7RAPx2BtTW5zgZTPGNwH9RZD5vNDtPm1YbIcu";
    return user;
}
@end
